package demo;

/**
 * @author ZhouWeiBo
 * @create 2022/6/6
 */
public class iPhoneProMax implements Phone{
    private Phone phone = null;

    public iPhoneProMax(Phone phone) {
        this.phone = phone;
    }

    @Override
    public void doSomeThing() {
        phone.doSomeThing();
        //System.out.println("iPhone Pro Max 还有更多功能哦！");
        //System.out.println("iPhone Pro Max 还能防水、防尘！");
        //System.out.println("iPhone Pro Max 还能使用5G网络！");
        //System.out.println("iPhone Pro Max 还能使用wifi-6！");
    }

    public void doMoreThing(){
        phone.doSomeThing();
        System.out.println("iPhone Pro Max 还有更多功能哦！");
        System.out.println("iPhone Pro Max 还能防水、防尘！");
        System.out.println("iPhone Pro Max 还能使用5G网络！");
        System.out.println("iPhone Pro Max 还能使用wifi-6！");
    }
}
